package com.bw.goods_module.detail;

import com.bw.goods_module.home.HomeEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface ApiService {
    //商品详情获取接口
    @POST("goods/getGoodsDetail")
    Observable<GoodsDetailEntity>requestGoodsDetail(@Body RequestBody body);
    //推荐商品获取接口->复用首页得商品列表接口
    @POST("goods/getGoodsList")
    Observable<HomeEntity>requestGoodsList(@Body RequestBody body);

}
